package com.erp.erp_project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.erp_project.model.Power;
import com.erp.erp_project.model.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yh
 */
@Mapper
public interface PowerMapper extends BaseMapper<Power> {
    String query(Integer roleId);
    List<Power> selects(String strs);
    void addrp(Integer roleId,String ids);
    void deleterp(List ids);
    void add(Power power);
    List<String> selectpower();
    void delete(String parent);
    void deletebyids(String[] ids);
}
